package com.xlh.util;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author sy
 */
@Configuration
@ConfigurationProperties(prefix = "utilsystemfile", ignoreUnknownFields = false)
@PropertySource(value = "classpath:utilsystemfile.properties")
@Component
public class UtilFile {
    private String serverAddress;
    private String indexAddress;
    public String getServerAddress() {
        return serverAddress;
    }

    public void setServerAddress(String serverAddress) {
        this.serverAddress = serverAddress;
    }

    public String getIndexAddress() {
        return indexAddress;
    }

    public void setIndexAddress(String indexAddress) {
        this.indexAddress = indexAddress;
    }
}
